How to create a new indicator

How to create a new indicator | Previous Top Next

We will use QTGen.exe to generate a new indicator.
Indicator's files are created in the directory \indicators
Notice : If you choose C++ source code, you will need to add lines in the file includes\getdatabuffer.cpp manually for your indicator's buffers.
If you see how the other indicators are constructed, this will help.
Each indicator have 4 files :
for basic indicators :
- .ini : contains the name, description, canvas location and coding language of the indicator
- .qti : contains the main algorithm of the indicator
- .qtp : contains the indicator's properties
- .qtr : contains the indicator's buffers colors and alternative parameters
for C++ indicators :
- .ini : contains the name, description, canvas location and coding language of the indicator
- .cpp : contains the main algorithm of the indicator coded in C++
- .qtp : contains the indicator's properties
- .qtr : contains the indicator's buffers colors and alternative parameters
If you need a light indicator with few computations, use RQ Basic coding language.
If you need an indicator with a lot of hard computations, use C++ coding language.
C++ indicators load much faster.